import asyncio
import time
import threading

@asyncio.coroutine
def hello():
    print(threading.current_thread().ident)

@asyncio.coroutine
def hello2():
    print(threading.current_thread().ident)


asyncio.get_event_loop().run_until_complete(asyncio.wait((hello(), hello2())))
